home *** CD-ROM | disk | FTP | other *** search
- From: haebler@uni-muenster.de
- Subject: Re: Path length in GEM file selector
- Date: Thu, 20 Jan 1994 18:34:14 +0100 (MEZ)
- In-Reply-To: <r_vinymy9q_@moacs11> from "Waldi Ravens" at Jan 20, 94 02:56:10 pm
-
- > In <9401201204.AA13974@urix6.uni-muenster.de>, Marcus Haebler wrote:
- >
- > Since P1003.1 does not define a maximum length for a path, no application
- > should assume that there is one. You'll have to use something more
- > flexible than a compile time constant.
- >
- > Here is an example with getcwd() :
- ...
- Quite nice but how does the file selector know the length of the
- space the program saved for the path??
-
- Uli's idea with the cookie is really good. What about a cookie
-
- _PTL <max length of path without the \0 at the end like strlen()>
-
- Eric what do you think about this? Any comments or suggestions?
- We should also install a cookie for the file name size:
-
- _FTL <max length of file name without \0>>
-
- Regards,
-
- Marcus
- ---
- **********************************************************************
- * Marcus Haebler * Internet: haebler@uni-muenster.de *
- * Althausweg 29 * You can also contact me via IRC. *
- * 48159 Muenster * Drop me a note at Noteserv@service.de *
- * Germany * Nickname: D_Gently (Mostly Harmless) *
- **********************************************************************
-